﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Mvc;
using Common;
using System.Net;
using System.Threading.Tasks;
using System.Threading;
using WXPackage;

namespace WXTest2.Controllers
{
    public class ServiceController : Controller
    {

        //配置验证
        public string Index()
        {
            ConfigManage _manage = new ConfigManage();
            return _manage.CheckServer();
        }

        #region 菜单管理
        public string CreateMenu()
        {
            return "";
        }
        public string QueryMenu()
        {
            MenuManage _menu = new MenuManage();
            return _menu.LoadData().ToJsonString();
        }
        #endregion

    }

}